package com.sevenwolves.bean;

public class Car implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = 4176135618209405354L;
	private String carnumber;
	private String cartype;
	private String color;
	private Float price;
	private Float rentprice;
	private Float deposit;
	private String isrenting;
	private String cardesc;

	public Car() {
		// default constructor
	}

	public Car(String carnumber, String cartype, String color, Float price,
			Float rentprice, Float deposit, String isrenting, String cardesc) {
		this.carnumber = carnumber;
		this.cartype = cartype;
		this.color = color;
		this.price = price;
		this.rentprice = rentprice;
		this.deposit = deposit;
		this.isrenting = isrenting;
		this.cardesc = cardesc;
	}

	// Property accessors

	public String getCarnumber() {
		return this.carnumber;
	}

	public void setCarnumber(String carnumber) {
		this.carnumber = carnumber;
	}

	public String getCartype() {
		return this.cartype;
	}

	public void setCartype(String cartype) {
		this.cartype = cartype;
	}

	public String getColor() {
		return this.color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Float getRentprice() {
		return this.rentprice;
	}

	public void setRentprice(Float rentprice) {
		this.rentprice = rentprice;
	}

	public Float getDeposit() {
		return this.deposit;
	}

	public void setDeposit(Float deposit) {
		this.deposit = deposit;
	}

	public String getIsrenting() {
		return this.isrenting;
	}

	public void setIsrenting(String isrenting) {
		this.isrenting = isrenting;
	}

	public String getCardesc() {
		return this.cardesc;
	}

	public void setCardesc(String cardesc) {
		this.cardesc = cardesc;
	}

}